<?php

/* @var $this \yii\web\View */
/* @var $content string */
use backend\assets\AdminAsset;
use yii\helpers\Html;
use backend\components\Menu;
use yii\helpers\Url;
AdminAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>权限管理</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
        <?php $this->head() ?>
        <?php $this->registerJsFile("@web/js/jquery-2.1.4.js",['position' =>\yii\web\View::POS_HEAD]);?>

	</head>
    <body>
    <?php $this->beginBody() ?>
    <div class="container-fluid">
<div class="row">
    <div class="col-sm-4">
        <table class="table table-striped table-bordered table-hover">
            <thead>
                <tr>
                    <th>选择站点</th>
                </tr>
            </thead>
            <?php foreach($sites as $site){?>
            <tbody>
                <tr>
                    <td><a href="<?=Url::toRoute(['role/rolepriv', 'roleid' => $_GET['roleid'],'siteid'=>$site->siteid])?>"><?php echo $site->name;?></a></td>
                </tr>
            </tbody>
            <?php }?>
        </table>
    </div>
    <div class="col-sm-8">
        <table  class="table table-striped table-bordered table-hover">
            <thead>
                <tr>
                    <th>权限设置</th>
                </tr>
            </thead>
        </table>
        <span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </span>
        <div style="text-align:center"><h3>请选择站点</h3></div>
        
    </div><!-- /.table-responsive -->
</div><!-- /.row end -->
    </div>
			
	
    <?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>